﻿namespace PLC.Domain.GlobConfig;

public  class RedisKey
{
    /// <summary>
    /// 前缀
    /// </summary>
    private static string Prefix { get;} = "plc-server";
    /// <summary>
    /// device datas的key
    /// </summary>
    public static string DeviceDatas { get;} = $"{Prefix}:device-data";
    /// <summary>
    /// config data的key 
    /// </summary>
    public static string ConfigDatas { get; } = $"{Prefix}:config-data";

    public static string PLCConfigs { get; } = $"{Prefix}:plc-config";

    public static string DeviceStatus { get;  } = $"{Prefix}:device-status";

    public static string ProductionDataPrefix { get;  } = $"{Prefix}:production-data";
   
  
}